package com.cskaoyan.bean.VoCCY;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class MarketBrandCreateVo {

    /**
     * id : 1046018
     * name : qweqwe
     * desc : hhhhhhhhh
     * picUrl : http://182.92.235.201:8083/wx/storage/fetch/o1da6pazhjwl9lau08yq.jpg
     * floorPrice : 10000
     * addTime : 2022-09-08 14:04:54
     * updateTime : 2022-09-08 14:04:54
     */

    private int id;
    private String name;
    private String desc;
    private String picUrl;
    private double floorPrice;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    public MarketBrandCreateVo() {
    }

    public MarketBrandCreateVo(int id, String name, String desc, String picUrl, double floorPrice, Date addTime, Date updateTime) {
        this.id = id;
        this.name = name;
        this.desc = desc;
        this.picUrl = picUrl;
        this.floorPrice = floorPrice;
        this.addTime = addTime;
        this.updateTime = updateTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    public double getFloorPrice() {
        return floorPrice;
    }

    public void setFloorPrice(double floorPrice) {
        this.floorPrice = floorPrice;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
